import 'dart:ui';

import 'package:fish_redux/fish_redux.dart';
import 'package:flutter/material.dart';

abstract class AppGlobalBaseState {
  int get themeColorIndex;
  set themeColorIndex(int index);

  Locale get locale;
  set locale(Locale locale);
}
class AppGlobalState implements AppGlobalBaseState, Cloneable<AppGlobalState> {

  @override
  AppGlobalState clone() {
    return AppGlobalState()
    ..themeColorIndex = themeColorIndex
    ..locale = locale
    ;
  }

  @override
  Locale locale;

  @override
  int themeColorIndex = 0;
}


